import URL from '@/config/url'
import utils from '@/utils/utils'

export default {
	// 总后台(平台管理)-----------------------------------------
	// 获取订单id与类型
	getOrderId(params={}){
		let data = {
			verificationCode:params.verificationCode
		}
		return utils.uniRequest({url:URL.BASE2 + '/PayVerification/offlineOrderCheck',data})
	},
	// 线下收款确认
	toCollecOk(params={}){
		let data = {
			verificationCode:params.verificationCode
		}
		return utils.uniRequest({url:URL.BASE2 + '/PayVerification/offline',data})
	},
	
	// 线下收款普通商品列表
	getShopList(params={}){
		let data = {
			order_codes:params.order_codes
		}
		return utils.uniRequest({url:URL.BASE2 + '/shop/order/downDetail',data})
	},
	
	// 线下收款产品包列表
	getShopPackage(params={}){
		let data = {
			order_codes:params.order_codes
		}
		return utils.uniRequest({url:URL.BASE2 + '/shop/order/packDownDetail',data})
	},
}